package org.szy.plugin.sys.service;

import com.mybatisflex.core.paginate.Page;
import com.mybatisflex.core.query.QueryWrapper;
import org.szy.core.common.page.QueryPage;
import org.szy.core.common.param.CommonStatusParam;
import org.szy.core.common.service.BaseService;
import org.szy.plugin.sys.entity.SysUser;
import org.szy.plugin.sys.entity.SysUserRole;
import org.szy.plugin.sys.param.SysUserQueryParam;
import org.szy.plugin.sys.param.SysUserRoleAddParam;

import java.util.List;

/**
 * 用户和角色关联Service接口
 *
 * @author wangbuhao
 * @since 2023-06-27 09:56:03
 **/
public interface SysUserRoleService extends BaseService<SysUserRole> {


    List<SysUserRole> listByUserId(Long userId);

    boolean add(SysUserRoleAddParam param);


}
